function attachEventDisplayLoginOrLogout() {
    var token = Lib.getCookie('access_token');
    if(token == '') {
        document.getElementById('logout').style.display = 'none';
        document.getElementById('login').style.display = 'block';
    } else {
        //get user
        document.getElementById('login').style.display = 'none';
        document.getElementById('logout').style.display = 'block';
    }
}
